// pages/group/group.js
Page({
  data: {
    list: [{ img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }, { img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }, { img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }, { img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }, { img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }, { img: '../img/face.jpg', builder: '张三', pos: '置业顾问', tel: '12487650-2', name: '重庆餐饮联盟', code: '../img/code.jpg' }],
    code:'../img/code.jpg',
    show:false
  },
  click:function(e){
    let code = e.currentTarget.dataset.code;
    this.setData({
      code: code,
      show:true
    });
  },
  close: function (e) {
    let code = e.currentTarget.dataset.code;
    this.setData({
      show: false
    });
  },
  onLoad: function (options) {
  
  },
  onReady: function () {
  
  },
  onReachBottom: function () {
  
  }
})